package brandroid.BarAndDrink;

import android.app.Activity;
import android.graphics.Typeface;
import android.os.Bundle;
import android.widget.TextView;

public class specials extends Activity {
	
	public long id;
	public SQLiteAdapter mySQLiteAdapter;
	//Cursor cursor;
	private TextView barNameText;
	private TextView barAddressText;
	private TextView barWebAddressText;
	private TextView sunText;
	private TextView monText;
	private TextView tueText;
	private TextView wedText;
	private TextView thuText;
	private TextView friText;
	private TextView satText;
	private Typeface tf;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.specials);
		barNameText = (TextView) findViewById(R.id.barName);
		tf = Typeface.createFromAsset(getAssets(), "fonts/neon2.ttf");
		barNameText.setTypeface(tf);
		barAddressText = (TextView) findViewById(R.id.barAddress);
		barAddressText.setTypeface(tf);
		barWebAddressText = (TextView) findViewById(R.id.barWebAddress);
		barWebAddressText.setTypeface(tf);
		sunText = (TextView) findViewById(R.id.sunSpecial_TextView);
		monText = (TextView) findViewById(R.id.monSpecial_TextView);
		tueText = (TextView) findViewById(R.id.tueSpecial_TextView);
		wedText = (TextView) findViewById(R.id.wedSpecial_TextView);
		thuText = (TextView) findViewById(R.id.thuSpecial_TextView);
		friText = (TextView) findViewById(R.id.friSpecial_TextView);
		satText = (TextView) findViewById(R.id.satSpecial_TextView);
		
		setSpecials();
		
	}
	
	
	public specials(){
		
				
	}
	public void setSpecials() {
		Bundle extras = getIntent().getExtras();
		
		barNameText.setText(extras.getString("barName"));
		barAddressText.setText(extras.getString("barAddress") + " " + extras.getString("barCity") +", " + extras.getString("barState") + " " + extras.getString("barZip"));
		barWebAddressText.setText(extras.getString("barWebAddress"));
		sunText.setText(extras.getString("Sunday"));
		monText.setText(extras.getString("Monday"));
		tueText.setText(extras.getString("Tuesday"));
		wedText.setText(extras.getString("Wednesday"));
		thuText.setText(extras.getString("Thursday"));
		friText.setText(extras.getString("Friday"));
		satText.setText(extras.getString("Saturday"));
	
		}

	
	
}
